home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene 96
/
Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso
/
misc
/
coding
/
e_os208
/
example6
/
example6.asm
next >
Wrap
Assembly Source File
|
1996-06-09
|
1KB
|
36 lines
;╔══════════════════════════════════════════════════════════════════════════╗
;║ ║
;║ This example show how to call the 32 bit debugger ║
;║ ║
;║ Tabs : 13 21 29 37 ║
;║ ║
;╚══════════════════════════════════════════════════════════════════════════╝
Locals
.386
CODE32 SEGMENT PUBLIC PARA 'CODE' USE32
ASSUME CS:CODE32,DS:CODE32,ES:CODE32
INCLUDE ..\RESOURCE\EOS.INC
Msg db ' ■ Hello world...',13,10,36
Start32:
mov ah,9
mov edx,O Msg
int 21h ; Call Display String
call debug ; Where you want !!! Alt-x to exit
mov ah,9
mov edx,O Msg
int 21h ; Call Display String
mov ax,4c00h
int 21h ; Exit with Error Code 0
CODE32 ENDS
END